<div style="display: inline-table; margin-right: 10px;">
<table class="fTable" align="center">
	<tr>
		<th colspan="3">Diagnoses</th>
	</tr>
	<tr class="subHeader">
		<td>ICD Code</td>
		<td>Description</td>
		<td style="width: 60px;">Action</td>
	</tr>

	<%if(ov.getDiagnoses().size()==0){ %>
	<tr>
		<td colspan="3" style="text-align: center;">No Diagnoses on
		record</td>
	</tr>
	<%} else { 
					for(DiagnosisBean d : ov.getDiagnoses()) { %>
	<tr>
		<td align=center><%= StringEscapeUtils.escapeHtml("" + (d.getICDCode())) %></td>
		<td><%= StringEscapeUtils.escapeHtml("" + (d.getDescription())) %></td>
		<td><a
			href="javascript:removeID('removeDiagID','<%= StringEscapeUtils.escapeHtml("" + (d.getOvDiagnosisID())) %>');">Remove</a></td>
	</tr>
	<%		}
				}%>
	<tr>
		<th colspan="3" style="text-align: center;">New</th>
	</tr>
	<tr>
		<td colspan="3" align=center><select name="addDiagID"
			style="font-size: 10">
			<option value="">-- None Selected --</option>
			<%for(DiagnosisBean diag : prodDAO.getICDCodesDAO().getAllICDCodes()) { %>
			<option value="<%=diag.getICDCode()%>"><%= StringEscapeUtils.escapeHtml("" + (diag.getICDCode())) %>
			- <%= StringEscapeUtils.escapeHtml("" + (diag.getDescription())) %></option>
			<%}%>
		</select> <input type="submit" value="Add Diagnosis"></td>
	</tr>
</table>
</div>